﻿package com.firewolf.iteratorAndComponent.component.main;

import com.firewolf.iteratorAndComponent.component.basic.MenuComponent;

public class Waitor {
	private MenuComponent allMenus;
	public Waitor(MenuComponent allMenus){
		this.allMenus = allMenus ;
	}
	public void printAllMenus(){
		allMenus.print();
	}
}
